package com.games.portal.model.builder;

import com.games.portal.model.Game;


public class ListItemBuilder {
	
	private final Game game;

	private ListItemBuilder() {
		game = new Game();
	}
	
	public static ListItemBuilder create() {
		return new ListItemBuilder();
	}

	public ListItemBuilder addName(String name) {
		game.setName(name);
		return this;
	}
	
	public ListItemBuilder addCategoryName(String name) {
		game.setCategoryName(name);
		return this;
	}
	
	public ListItemBuilder addImageUrl(String name) {
		game.setImage_url(name);
		return this;
	}
	
	public ListItemBuilder addUrl(String name) {
		game.setUrl(name);
		return this;
	}


	public Game build() {
		return game;
	}
	

}
